import requests
import re

headers = {
    'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36',
    'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7',
    'accept-language': 'zh-CN,zh;q=0.9',
    'referer': 'https://tieba.baidu.com/',
}
params = {
    # 'class': 'college'
}

url = 'https://tieba.baidu.com/t/f/?class=college'
response = requests.get(url, headers=headers, params=params,timeout=10)
print(response.text)
